namespace DingHeng.TransportationManagement.Entity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("VehicleInfo")]
    public partial class VehicleInfo
    {
        [Key]
        public Guid VehicleID { get; set; }

        [StringLength(50)]
        public string LicensePlateNo { get; set; }

        public Guid? Type { get; set; }

        public Guid? DriverID { get; set; }

        [Column(TypeName = "numeric")]
        public decimal? RateLoad { get; set; }

        [StringLength(5)]
        public string DriverName { get; set; }

        [StringLength(32)]
        public string DriverPhoneNo { get; set; }

        [StringLength(20)]
        public string DriverIDNo { get; set; }

        [StringLength(128)]
        public string OwnerName { get; set; }

        [StringLength(32)]
        public string OwnerContactNo { get; set; }

        public Guid? OwnerID { get; set; }

        public bool? IsActive { get; set; }

        public int? WorkYear { get; set; }

        public int? WorkMonth { get; set; }

        public bool? RegisterIsActive { get; set; }

        [StringLength(16)]
        public string Code { get; set; }
    }
}
